//
//  DisherViewController.h
//  Recipe
//
//  Created by bing han on 12-7-4.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "SettingViewController.h"

@interface DisherViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,SetViewDelegate,UIScrollViewDelegate>{
    //两级菜单字典
    NSMutableDictionary *typeDict;
    //临时获取使用
    NSMutableArray *typeArry;       //一级菜单
    NSMutableArray *subtypeArry;    //二级菜单
    NSMutableDictionary *isOpenDict; //是否展开
    
    NSMutableArray *disherArry;     //菜品单
    
    IBOutlet UITableView *tabType;
    IBOutlet UIScrollView *scroll;
    IBOutlet UILabel *lblOrderCount;
}

@property (nonatomic, retain) IBOutlet UILabel *lblOrderCount;
@property (nonatomic, retain) NSMutableDictionary *typeDict;
@property (nonatomic, retain) NSMutableArray *typeArry;
@property (nonatomic, retain) NSMutableArray *subtypeArry;
@property (nonatomic, retain) NSMutableDictionary *isOpenDict;

@property (nonatomic, retain) NSMutableArray *disherArry;
@property (nonatomic, retain) IBOutlet UITableView *tabType;
@property (nonatomic, retain) IBOutlet UIScrollView *scroll;

-(void) initType;

-(void) initMenu;

//显示设置
-(IBAction)showSet:(id)sender;
//显示已点菜单表
-(IBAction)showOrderList:(id)sender;

//-(IBAction)changeImage:(id)sender;
@end
